package com.nuanshui.heatedloan.userinfo.service.thirdLogin;

import com.nuanshui.framework.springContext.SpringContextUtil;
import com.nuanshui.heatedloan.userinfo.facade.thirdlogin.ThirdUserService;
import com.nuanshui.heatedloan.userinfo.facade.thirdlogin.ThirdUserServiceFactory;

/**
 * Created by zxh on 2017/2/10.
 */
public class ThirdUserServiceUtil {

    public static ThirdUserService GetThirdUserService(int accountType)
    {
        ThirdUserServiceFactory thirdUserServiceFactory= SpringContextUtil.getBean("ThirdUserServiceFactory");
        return thirdUserServiceFactory.GetThirdUserService(accountType);
    }
}
